package com.binest.projectInclusion.mapper;



import com.binest.projectInclusion.domain.ProjectInclusion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 项目收录Mapper接口
 * 
 * @author wwd
 * @date 2024-01-24
 */
@Mapper
public interface ProjectInclusionMapper 
{
    /**
     * 查询项目收录
     * 
     * @param id 项目收录主键
     * @return 项目收录
     */
    public ProjectInclusion selectProjectInclusionById(String id);

    /**
     * 查询项目收录列表
     * 
     * @param projectInclusion 项目收录
     * @return 项目收录集合
     */
    public List<ProjectInclusion> selectProjectInclusionList(ProjectInclusion projectInclusion);
    public ProjectInclusion selectProjectInclusionByMainId(ProjectInclusion projectInclusion);
    /**
     * 新增项目收录
     * 
     * @param projectInclusion 项目收录
     * @return 结果
     */
    public int insertProjectInclusion(ProjectInclusion projectInclusion);

    /**
     * 修改项目收录
     * 
     * @param projectInclusion 项目收录
     * @return 结果
     */
    public int updateProjectInclusion(ProjectInclusion projectInclusion);

    /**
     * 删除项目收录
     * 
     * @param id 项目收录主键
     * @return 结果
     */
    public int deleteProjectInclusionById(String id);

    /**
     * 批量删除项目收录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectInclusionByIds(String[] ids);
}
